/**
 * 
 */
package com.asnetla.asctc.dto;

import java.math.BigDecimal;


/**
 * Data Transfer Object para el CRMAE
 * @author ccadavid
 * @version 1.0 24-01-2012
 *
 */
public class CrmaeDTO {

	private int maebin;
	private long maetar;
	private BigDecimal maemor;
	private short maemmp;
	private int maeemo;
	private String tarjeta;
	private String desTarjeta;
	private String codEstado;
	private String desEstado;
	private BigDecimal disponibleVentas;
	private BigDecimal disponibleAvances;
	private BigDecimal limiteAvances;
	private BigDecimal codSucursal;
	private String desSucursal;
	private BigDecimal suma_maemor; 
	private BigDecimal suma_maepen;
	private short maemip;
	private BigDecimal totalMorasAnioEst;
	private BigDecimal totalMorasEst;
	private short maemsp;
	private BigDecimal maesmp;
	private short maemvp;
	private short maempp;
	private short maemvd;
	private short maempd;
	private BigDecimal minimoValorPermitido; 
	private int aybcin; 
	
	
	
	//campos utilizados PGM CRAICC1
	private String xnombr;
	private String xnuide;
	private String xtipid;
	private String xnopas;
	private String xdir01;
	private String xdir02;
	private String xnotel;
	private String xnoteo;
	private String xcopos;
	private String xnociu;
	private String xnodpt;
	private String xfenac;
	private String xtiper;
	private String xticli;
	private String oxsexo;
	private String xopcco;
	
	
	//descripciones
	private String maetta_des;
	private String maeafi_des;
	private String maesem_des;
	private String maecgo_des;
	private String maemes_des;
	private String maetc1_des;
	private String maecar_des;
	private String maecab_des;
	private String maecif_des;
	private String maetci_des;
	
	private BigDecimal tsmvlr;
	
	//valores utilizados del crcif
	private String maecif_ffh; 
	private String maecif_ffa; 
	private String maecif_flh; 
	private String maecif_fla;
	
	//valores utilizados del crayb
	private String aybcin_des;
	
	/**
	 * Constructor por defecto
	 */
	public CrmaeDTO() {
		totalMorasAnioEst = new BigDecimal(0);
		totalMorasEst = new BigDecimal(0);
	}
	
	/**
	 * Constructor con lista de atributos
	 * @param atributos
	 */
	public CrmaeDTO(Object[] atributos) {
		
		super();
		
		if(atributos.length>0){
			this.tarjeta = atributos[0]!=null ? (String) atributos[0] : null;
		}
		if(atributos.length>1){
			this.desTarjeta = atributos[1]!=null ? (String) atributos[1] : null;
		}
		if(atributos.length>2){
			this.codEstado = atributos[2]!=null ? (String) atributos[2] : null;
		}
		if(atributos.length>3){
			this.desEstado = atributos[3]!=null ? (String) atributos[3] : null;
		}
		if(atributos.length>4){
			this.disponibleVentas = atributos[4]!=null ? (BigDecimal) atributos[4] : null;
		}
		if(atributos.length>5){
			this.codSucursal = atributos[5]!=null ? (BigDecimal) atributos[5] : null;
		}
		if(atributos.length>6){
			this.desSucursal = atributos[6]!=null ? (String) atributos[6] : null;
		}
		if(atributos.length>7){
			this.suma_maemor = atributos[7]!=null ? (BigDecimal) atributos[7] : null;
		}
			
	}


	/**
	 * @return the maebin
	 */
	public int getMaebin() {
		return maebin;
	}

	/**
	 * @param maebin the maebin to set
	 */
	public void setMaebin(int maebin) {
		this.maebin = maebin;
	}

	/**
	 * @return the maetar
	 */
	public long getMaetar() {
		return maetar;
	}

	/**
	 * @param maetar the maetar to set
	 */
	public void setMaetar(long maetar) {
		this.maetar = maetar;
	}

	/**
	 * @return the maemor
	 */
	public BigDecimal getMaemor() {
		return maemor;
	}

	/**
	 * @param maemor the maemor to set
	 */
	public void setMaemor(BigDecimal maemor) {
		this.maemor = maemor;
	}

	
	
	/**
	 * @return the maemmp
	 */
	public short getMaemmp() {
		return maemmp;
	}

	/**
	 * @param maemmp the maemmp to set
	 */
	public void setMaemmp(short maemmp) {
		this.maemmp = maemmp;
	}

	/**
	 * @return the maeemo
	 */
	public int getMaeemo() {
		return maeemo;
	}

	/**
	 * @param maeemo the maeemo to set
	 */
	public void setMaeemo(int maeemo) {
		this.maeemo = maeemo;
	}

	/**
	 * @return the tarjeta
	 */
	public String getTarjeta() {
		return tarjeta;
	}

	/**
	 * @param tarjeta the tarjeta to set
	 */
	public void setTarjeta(String tarjeta) {
		this.tarjeta = tarjeta;
	}

	
	/**
	 * @return the suma_maemor
	 */
	public BigDecimal getSuma_maemor() {
		return suma_maemor;
	}

	/**
	 * @param suma_maemor the suma_maemor to set
	 */
	public void setSuma_maemor(BigDecimal suma_maemor) {
		this.suma_maemor = suma_maemor;
	}

	/**
	 * @return the suma_maepen
	 */
	public BigDecimal getSuma_maepen() {
		return suma_maepen;
	}

	/**
	 * @param suma_maepen the suma_maepen to set
	 */
	public void setSuma_maepen(BigDecimal suma_maepen) {
		this.suma_maepen = suma_maepen;
	}

	/**
	 * @return the maemip
	 */
	public short getMaemip() {
		return maemip;
	}

	/**
	 * @param maemip the maemip to set
	 */
	public void setMaemip(short maemip) {
		this.maemip = maemip;
	}

	/**
	 * @return the totalMorasAnioEst
	 */
	public BigDecimal getTotalMorasAnioEst() {
		return totalMorasAnioEst;
	}

	/**
	 * @param totalMorasAnioEst the totalMorasAnioEst to set
	 */
	public void setTotalMorasAnioEst(BigDecimal totalMorasAnioEst) {
		this.totalMorasAnioEst = totalMorasAnioEst;
	}

	/**
	 * @return the totalMorasEst
	 */
	public BigDecimal getTotalMorasEst() {
		return totalMorasEst;
	}

	/**
	 * @param totalMorasEst the totalMorasEst to set
	 */
	public void setTotalMorasEst(BigDecimal totalMorasEst) {
		this.totalMorasEst = totalMorasEst;
	}

	/**
	 * @return the maesmp
	 */
	public BigDecimal getMaesmp() {
		return maesmp;
	}

	/**
	 * @param maesmp the maesmp to set
	 */
	public void setMaesmp(BigDecimal maesmp) {
		this.maesmp = maesmp;
	}
	
	/**
	 * @return the maemvp
	 */
	public short getMaemvp() {
		return maemvp;
	}

	/**
	 * @param maemvp the maemvp to set
	 */
	public void setMaemvp(short maemvp) {
		this.maemvp = maemvp;
	}
	
	
	/**
	 * @return the maempp
	 */
	public short getMaempp() {
		return maempp;
	}

	/**
	 * @param maempp the maempp to set
	 */
	public void setMaempp(short maempp) {
		this.maempp = maempp;
	}
	
	
	
	/**
	 * @return the maemvd
	 */
	public short getMaemvd() {
		return maemvd;
	}

	/**
	 * @param maemvd the maemvd to set
	 */
	public void setMaemvd(short maemvd) {
		this.maemvd = maemvd;
	}
	
	
	 
	/**
	 * @return the maempd
	 */
	public short getMaempd() {
		return maempd;
	}

	/**
	 * @param maempd the maempd to set
	 */
	public void setMaempd(short maempd) {
		this.maempd = maempd;
	}

	/**
	 * @return the maemsp
	 */
	public short getMaemsp() {
		return maemsp;
	}

	/**
	 * @param maemsp the maemsp to set
	 */
	public void setMaemsp(short maemsp) {
		this.maemsp = maemsp;
	}

	/**
	 * @return the desTarjeta
	 */
	public String getDesTarjeta() {
		return desTarjeta;
	}

	/**
	 * @param desTarjeta the desTarjeta to set
	 */
	public void setDesTarjeta(String desTarjeta) {
		this.desTarjeta = desTarjeta;
	}

	/**
	 * @return the codEstado
	 */
	public String getCodEstado() {
		return codEstado;
	}

	/**
	 * @param codEstado the codEstado to set
	 */
	public void setCodEstado(String codEstado) {
		this.codEstado = codEstado;
	}

	/**
	 * @return the desEstado
	 */
	public String getDesEstado() {
		return desEstado;
	}

	/**
	 * @param desEstado the desEstado to set
	 */
	public void setDesEstado(String desEstado) {
		this.desEstado = desEstado;
	}

	/**
	 * @return the disponibleVentas
	 */
	public BigDecimal getDisponibleVentas() {
		return disponibleVentas;
	}

	/**
	 * @param disponibleVentas the disponibleVentas to set
	 */
	public void setDisponibleVentas(BigDecimal disponibleVentas) {
		this.disponibleVentas = disponibleVentas;
	}

	/**
	 * @return the disponibleAvances
	 */
	public BigDecimal getDisponibleAvances() {
		return disponibleAvances;
	}

	/**
	 * @param disponibleAvances the disponibleAvances to set
	 */
	public void setDisponibleAvances(BigDecimal disponibleAvances) {
		this.disponibleAvances = disponibleAvances;
	}

	/**
	 * @return the limiteAvances
	 */
	public BigDecimal getLimiteAvances() {
		return limiteAvances;
	}

	/**
	 * @param limiteAvances the limiteAvances to set
	 */
	public void setLimiteAvances(BigDecimal limiteAvances) {
		this.limiteAvances = limiteAvances;
	}

	/**
	 * @return the codSucursal
	 */
	public BigDecimal getCodSucursal() {
		return codSucursal;
	}

	/**
	 * @param codSucursal the codSucursal to set
	 */
	public void setCodSucursal(BigDecimal codSucursal) {
		this.codSucursal = codSucursal;
	}

	/**
	 * @return the desSucursal
	 */
	public String getDesSucursal() {
		return desSucursal;
	}

	/**
	 * @param desSucursal the desSucursal to set
	 */
	public void setDesSucursal(String desSucursal) {
		this.desSucursal = desSucursal;
	}

	/**
	 * @return the xnuide
	 */
	public String getXnuide() {
		return xnuide;
	}

	/**
	 * @param xnuide the xnuide to set
	 */
	public void setXnuide(String xnuide) {
		this.xnuide = xnuide;
	}

	/**
	 * @return the xtipid
	 */
	public String getXtipid() {
		return xtipid;
	}

	/**
	 * @param xtipid the xtipid to set
	 */
	public void setXtipid(String xtipid) {
		this.xtipid = xtipid;
	}

	/**
	 * @return the xnopas
	 */
	public String getXnopas() {
		return xnopas;
	}

	/**
	 * @param xnopas the xnopas to set
	 */
	public void setXnopas(String xnopas) {
		this.xnopas = xnopas;
	}

	/**
	 * @return the xdir01
	 */
	public String getXdir01() {
		return xdir01;
	}

	/**
	 * @param xdir01 the xdir01 to set
	 */
	public void setXdir01(String xdir01) {
		this.xdir01 = xdir01;
	}

	/**
	 * @return the xnotel
	 */
	public String getXnotel() {
		return xnotel;
	}

	/**
	 * @param xnotel the xnotel to set
	 */
	public void setXnotel(String xnotel) {
		this.xnotel = xnotel;
	}

	/**
	 * @return the xnoteo
	 */
	public String getXnoteo() {
		return xnoteo;
	}

	/**
	 * @param xnoteo the xnoteo to set
	 */
	public void setXnoteo(String xnoteo) {
		this.xnoteo = xnoteo;
	}

	/**
	 * @return the xcopos
	 */
	public String getXcopos() {
		return xcopos;
	}

	/**
	 * @param xcopos the xcopos to set
	 */
	public void setXcopos(String xcopos) {
		this.xcopos = xcopos;
	}

	/**
	 * @return the xnociu
	 */
	public String getXnociu() {
		return xnociu;
	}

	/**
	 * @param xnociu the xnociu to set
	 */
	public void setXnociu(String xnociu) {
		this.xnociu = xnociu;
	}

	/**
	 * @return the xnombr
	 */
	public String getXnombr() {
		return xnombr;
	}

	/**
	 * @param xnombr the xnombr to set
	 */
	public void setXnombr(String xnombr) {
		this.xnombr = xnombr;
	}

	/**
	 * @return the xdir02
	 */
	public String getXdir02() {
		return xdir02;
	}

	/**
	 * @param xdir02 the xdir02 to set
	 */
	public void setXdir02(String xdir02) {
		this.xdir02 = xdir02;
	}

	/**
	 * @return the xnodpt
	 */
	public String getXnodpt() {
		return xnodpt;
	}

	/**
	 * @param xnodpt the xnodpt to set
	 */
	public void setXnodpt(String xnodpt) {
		this.xnodpt = xnodpt;
	}

	/**
	 * @return the xfenac
	 */
	public String getXfenac() {
		return xfenac;
	}

	/**
	 * @param xfenac the xfenac to set
	 */
	public void setXfenac(String xfenac) {
		this.xfenac = xfenac;
	}

	/**
	 * @return the xtiper
	 */
	public String getXtiper() {
		return xtiper;
	}

	/**
	 * @param xtiper the xtiper to set
	 */
	public void setXtiper(String xtiper) {
		this.xtiper = xtiper;
	}

	/**
	 * @return the xticli
	 */
	public String getXticli() {
		return xticli;
	}

	/**
	 * @param xticli the xticli to set
	 */
	public void setXticli(String xticli) {
		this.xticli = xticli;
	}

	/**
	 * @return the oxsexo
	 */
	public String getOxsexo() {
		return oxsexo;
	}

	/**
	 * @param oxsexo the oxsexo to set
	 */
	public void setOxsexo(String oxsexo) {
		this.oxsexo = oxsexo;
	}

	/**
	 * @return the xopcco
	 */
	public String getXopcco() {
		return xopcco;
	}

	/**
	 * @param xopcco the xopcco to set
	 */
	public void setXopcco(String xopcco) {
		this.xopcco = xopcco;
	}

	/**
	 * @return the minimoValorPermitido
	 */
	public BigDecimal getMinimoValorPermitido() {
		return minimoValorPermitido;
	}

	/**
	 * @param minimoValorPermitido the minimoValorPermitido to set
	 */
	public void setMinimoValorPermitido(BigDecimal minimoValorPermitido) {
		this.minimoValorPermitido = minimoValorPermitido;
	}

	/**
	 * @return the maetta_des
	 */
	public String getMaetta_des() {
		return maetta_des;
	}

	/**
	 * @param maetta_des the maetta_des to set
	 */
	public void setMaetta_des(String maetta_des) {
		this.maetta_des = maetta_des;
	}

	/**
	 * @return the maeafi_des
	 */
	public String getMaeafi_des() {
		return maeafi_des;
	}

	/**
	 * @param maeafi_des the maeafi_des to set
	 */
	public void setMaeafi_des(String maeafi_des) {
		this.maeafi_des = maeafi_des;
	}

	/**
	 * @return the maesem_des
	 */
	public String getMaesem_des() {
		return maesem_des;
	}

	/**
	 * @param maesem_des the maesem_des to set
	 */
	public void setMaesem_des(String maesem_des) {
		this.maesem_des = maesem_des;
	}

	/**
	 * @return the maecgo_des
	 */
	public String getMaecgo_des() {
		return maecgo_des;
	}

	/**
	 * @param maecgo_des the maecgo_des to set
	 */
	public void setMaecgo_des(String maecgo_des) {
		this.maecgo_des = maecgo_des;
	}

	/**
	 * @return the maemes_des
	 */
	public String getMaemes_des() {
		return maemes_des;
	}

	/**
	 * @param maemes_des the maemes_des to set
	 */
	public void setMaemes_des(String maemes_des) {
		this.maemes_des = maemes_des;
	}

	/**
	 * @return the maetc1_des
	 */
	public String getMaetc1_des() {
		return maetc1_des;
	}

	/**
	 * @param maetc1_des the maetc1_des to set
	 */
	public void setMaetc1_des(String maetc1_des) {
		this.maetc1_des = maetc1_des;
	}

	/**
	 * @return the maecar_des
	 */
	public String getMaecar_des() {
		return maecar_des;
	}

	/**
	 * @param maecar_des the maecar_des to set
	 */
	public void setMaecar_des(String maecar_des) {
		this.maecar_des = maecar_des;
	}

	/**
	 * @return the maecab_des
	 */
	public String getMaecab_des() {
		return maecab_des;
	}

	/**
	 * @param maecab_des the maecab_des to set
	 */
	public void setMaecab_des(String maecab_des) {
		this.maecab_des = maecab_des;
	}

	/**
	 * @return the maecif_des
	 */
	public String getMaecif_des() {
		return maecif_des;
	}

	/**
	 * @param maecif_des the maecif_des to set
	 */
	public void setMaecif_des(String maecif_des) {
		this.maecif_des = maecif_des;
	}

	/**
	 * @return the tsmvlr
	 */
	public BigDecimal getTsmvlr() {
		return tsmvlr;
	}

	/**
	 * @param tsmvlr the tsmvlr to set
	 */
	public void setTsmvlr(BigDecimal tsmvlr) {
		this.tsmvlr = tsmvlr;
	}

	/**
	 * @return the aybcin
	 */
	public int getAybcin() {
		return aybcin;
	}

	/**
	 * @param aybcin the aybcin to set
	 */
	public void setAybcin(int aybcin) {
		this.aybcin = aybcin;
	}

	/**
	 * @return the maetci_des
	 */
	public String getMaetci_des() {
		return maetci_des;
	}

	/**
	 * @param maetci_des the maetci_des to set
	 */
	public void setMaetci_des(String maetci_des) {
		this.maetci_des = maetci_des;
	}

	/**
	 * @return the maecif_ffh
	 */
	public String getMaecif_ffh() {
		return maecif_ffh;
	}

	/**
	 * @param maecif_ffh the maecif_ffh to set
	 */
	public void setMaecif_ffh(String maecif_ffh) {
		this.maecif_ffh = maecif_ffh;
	}

	/**
	 * @return the maecif_ffa
	 */
	public String getMaecif_ffa() {
		return maecif_ffa;
	}

	/**
	 * @param maecif_ffa the maecif_ffa to set
	 */
	public void setMaecif_ffa(String maecif_ffa) {
		this.maecif_ffa = maecif_ffa;
	}

	/**
	 * @return the maecif_flh
	 */
	public String getMaecif_flh() {
		return maecif_flh;
	}

	/**
	 * @param maecif_flh the maecif_flh to set
	 */
	public void setMaecif_flh(String maecif_flh) {
		this.maecif_flh = maecif_flh;
	}

	/**
	 * @return the maecif_fla
	 */
	public String getMaecif_fla() {
		return maecif_fla;
	}

	/**
	 * @param maecif_fla the maecif_fla to set
	 */
	public void setMaecif_fla(String maecif_fla) {
		this.maecif_fla = maecif_fla;
	}

	/**
	 * @return the aybcin_des
	 */
	public String getAybcin_des() {
		return aybcin_des;
	}

	/**
	 * @param aybcin_des the aybcin_des to set
	 */
	public void setAybcin_des(String aybcin_des) {
		this.aybcin_des = aybcin_des;
	}

	
	
}
